package com.yh.homestay.common;

import com.yh.homestay.pojo.GuestsDriver;

import java.io.Serializable;

public class DriverEditResult implements Serializable {
    private Integer code;
    private String  msg;
    private GuestsDriver guestsDriver;

    public DriverEditResult(Integer code, String msg, GuestsDriver guestsDriver) {
        this.code = code;
        this.msg = msg;
        this.guestsDriver = guestsDriver;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public GuestsDriver getGuestsDriver() {
        return guestsDriver;
    }

    public void setGuestsDriver(GuestsDriver guestsDriver) {
        this.guestsDriver = guestsDriver;
    }

    @Override
    public String toString() {
        return "DriverEditResult{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", guestsDriver=" + guestsDriver +
                '}';
    }
}
